﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace XOS_VHD_Tools.VHD
{
    public interface IDirectory : IFSEntry
    {
        IEnumerable<IDirectory> Directories { get; }
        IEnumerable<IFile> Files { get; }

        IEnumerable<IFSEntry> Entries { get; }

        IDirectory CreateDirectory(string name);
        IFile CreateFile(string name);

        void DeleteItem(IFSEntry entry);
        void RenameItem(IFSEntry entry, string name);

        bool IsRootDirectory { get; }
    }
}
